package demo.anno;

import demo.Gender;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(value= {ElementType.METHOD,ElementType.TYPE})
@Retention(value = RetentionPolicy.RUNTIME)
public @interface MyAno {
    String name() default "zhangsan";
    String value();
//    void show();
//    Student getStudent();
    int getAge() default 18;
    Gender getGender() default Gender.WOMEN;
//    MyAno2 getAno();
//
    String[] getAddres();
}
